package threadTest.synchronizedTest;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * 功能描述: 生产者 - 鸡
 * 2024/02/21
 * <p>
 * ZhangYi
 */
public class ProducerChicken {

    private DataContainer dataContainer;

    public ProducerChicken(DataContainer dataContainer) {
        this.dataContainer = dataContainer;
    }

    public void produce() throws InterruptedException
    {
        dataContainer.produce();
    }
}
